<template>
  <div>
    <h1>我是公共的头</h1>
    {{ title }}
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String, // title传过来的数据
      required: true // 必须传
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
